from django.urls import path,include
from app.views import StuModelView
urlpatterns = [
    path('stu/',StuModelView.as_view({'get':'list','post':'create'})),
    path('stu/<int:id>',StuModelView.as_view({'get':'retrieve','put':'update','delete':'destroy'}))
    
]
